<?php
http_response_code(404);
    include "./mysql.php";
    $id = $_GET["id"];
    $sql = "delete from shopcar where id='${id}'";
    $result = $mysqli->query($sql);
    if($result){        
        echo "true";
    }else{        
        echo "false";
    }